    <extend name="base"/>
    <block name="main">
		<ul class="nav nav-pills nav-justified nav-tab">
		  <li class="active"><a href="{:U('Admin/Index/setting?op=qiniu')}">第三方</a></li>
		  <li><a href="{:U('Admin/Index/setting?op=vip')}">vip</a></li>
		  <li><a href="{:U('Admin/Index/setting?op=notice')}">公告</a></li>
		  <li><a href="{:U('Admin/Index/setting?op=lunbo')}">轮播</a></li>
		 <li><a href="{:U('Admin/Index/setting?op=ad')}">广告</a></li> 
		</ul>
		<form action="{:U('Admin/Index/setting?op=qiniu&do=update')}" method="post">

  <div class="panel panel-default"> 
   <div class="panel-heading">七牛参数设置</div> 
   <div class="panel-body"> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启</label> 
     <div class="col-sm-9 col-xs-12"> 
		<label class="radio-inline">
				<if condition="$listdata[0][qiniustatus] eq 1">
                <input type="radio" name="qiniustatus" value="1" checked="checked" aria-invalid="false" class="valid">开启
                </if>
				<if condition="$listdata[0][qiniustatus] eq 0">
                <input type="radio" name="qiniustatus" value="1" aria-invalid="false" class="valid">开启
                </if>
		</label>
		<label class="radio-inline">
				<if condition="$listdata[0][qiniustatus] eq 1">
				<input type="radio" name="qiniustatus" value="0" class="valid">关闭
				</if>
				<if condition="$listdata[0][qiniustatus] eq 0">
				<input type="radio" name="qiniustatus" value="0" checked="checked" class="valid">关闭
				</if>
		</label>
      <div class="help-block">开启七牛存储，关闭则使用系统默认的存储方式 [本地], <a href="http://www.qiniu.com/" target="_blank">七牛存储</a></div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_KEY</label> 
     <div class="col-sm-9 col-xs-12"> 
      <input type="text" value="{$listdata[0][qiniukey]}" name="qiniukey" class="form-control" /> 
      <div class="help-block"></div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">SECRET_KEY</label> 
     <div class="col-sm-9"> 
      <input type="text" value="{$listdata[0][qiniusecret]}" name="qiniusecret" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div>
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">BUCKET(空间名称)</label> 
     <div class="col-sm-9"> 
      <input type="text" value="{$listdata[0][bucket]}" name="bucket" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">URL(空间链接)</label> 
     <div class="col-sm-9"> 
      <input type="text" value="{$listdata[0][qiniuurl]}" name="qiniuurl" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div>  
   </div> 
  </div>
  
  <div class="panel panel-default"> 
   <div class="panel-heading">qq第三方登录参数设置</div> 
   <div class="panel-body"> 

    
    
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_KEY</label> 
     <div class="col-sm-9 col-xs-12"> 
      <input type="text" value="{$listdata[0][qqkey]}" name="qqkey" class="form-control" /> 
      <div class="help-block"></div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_SECRET</label> 
     <div class="col-sm-9"> 
      <input type="text" value="{$listdata[0][qqsecret]}" name="qqsecret" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div> 
   </div> 
  </div>
  
    <div class="panel panel-default"> 
   <div class="panel-heading">新浪第三方登录参数设置</div> 
   <div class="panel-body"> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_KEY</label> 
     <div class="col-sm-9 col-xs-12"> 
      <input type="text" value="{$listdata[0][sinakey]}" name="sinakey" class="form-control" /> 
      <div class="help-block"></div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_SECRET</label> 
     <div class="col-sm-9"> 
      <input type="text" value="{$listdata[0][sinasecret]}" name="sinasecret" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div> 
   </div> 
  </div>
  
  
    <div class="panel panel-default"> 
   <div class="panel-heading">支付宝第三方登录参数设置</div> 
   <div class="panel-body"> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_KEY</label> 
     <div class="col-sm-9 col-xs-12"> 
      <input type="text" value="{$listdata[0][alipaykey]}" name="alipaykey" class="form-control" /> 
      <div class="help-block"></div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_SECRET</label> 
     <div class="col-sm-9"> 
      <input type="text" value="{$listdata[0][alipaysecret]}" name="alipaysecret" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div> 
   </div> 
  </div>
  
  
    <div class="panel panel-default"> 
   <div class="panel-heading">微信第三方登录参数设置</div> 
   <div class="panel-body"> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_KEY</label> 
     <div class="col-sm-9 col-xs-12"> 
      <input type="text" value="" name="Rconsume" class="form-control" /> 
      <div class="help-block"></div> 
     </div> 
    </div> 
    <div class="form-group"> 
     <label class="col-xs-12 col-sm-3 col-md-2 control-label">APP_SECRET</label> 
     <div class="col-sm-9"> 
      <input type="text" value="" name="Rrecharge" class="form-control" /> 
      <div class="help-block">
      </div> 
     </div> 
    </div> 
   </div> 
  </div>
  <button type="submit" class="btn btn-primary">保存</button>
  </form>
    </block>